package com.ruoyi.project.digital.domain.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * 申请状态
 */
@NoArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum YesOrNoStatus implements IBaseEnum<Integer> {
    //申请状态 已申请、已拒绝、待支付、已支付、已邮寄
    YES(0,"是"),
    NO(1,"非"),

    ;

    private Integer value;

    private String desp;

    YesOrNoStatus(Integer value, String desp){
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
